package com.thirteenClassicsServer.designPattern.方法工厂_责任链.entry;

import com.thirteenClassics.dto.EntryCatalogQueryDTO;
import com.thirteenClassics.vo.EntryCatalogQueryVO;
import com.thirteenClassicsServer.designPattern.方法工厂_责任链.chain.EntryCommonChain;
import com.thirteenClassicsServer.designPattern.方法工厂_责任链.chain.EntryHistoryChain;
import com.thirteenClassicsServer.designPattern.方法工厂_责任链.chain.EntryLdChain;

/**
 * @author wangzihao10 <wangzihao@kuaishou.com>
 * Created on 2024-08-04
 */
public class OneEntryProduct extends EntryProduct{
    @Override
    public EntryCatalogQueryVO entry(EntryCatalogQueryDTO entryCatalogQueryDTO) {
        EntryCommonChain entryCommonChain = new EntryCommonChain();
        EntryHistoryChain entryHistoryChain = new EntryHistoryChain();
        EntryLdChain entryLdChain = new EntryLdChain();

        entryCommonChain.setNextChain(entryHistoryChain);
        entryHistoryChain.setNextChain(entryLdChain);

        entryCommonChain.entryProcess(entryCatalogQueryDTO);
        return null;
    }
}
